cmake_minimum_required(VERSION 3.10)
project(PoissonEquation)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

find_package(Eigen3 REQUIRED)

# add_executable(test ./src/temp.cpp)
# target_include_directories(test PRIVATE ./include)
# target_link_libraries(test Eigen3::Eigen)

# add_executable(test ./src/testmesh.cpp)
# target_include_directories(test PRIVATE ./include)
# target_link_libraries(test Eigen3::Eigen)

# add_executable(poisson ./src/PoissonHexTest.cpp ./src/MakeHexMesh.cpp)
# target_include_directories(poisson PRIVATE ./include)
# target_link_libraries(poisson Eigen3::Eigen)

add_executable(poisson ./src/Poisson.cpp)
target_include_directories(poisson PRIVATE ./include)
target_link_libraries(poisson Eigen3::Eigen)